<template>
    <div>
        <el-menu default-active="1">
            <el-menu-item index="1">
                <i class="el-icon-s-home"></i>
                <router-link to="/cms/home">主页</router-link>
            </el-menu-item>
            <el-submenu index="2">
                <template slot="title"><i class="el-icon-user-solid"></i>用户管理</template>
                <el-menu-item-group>
                    <el-menu-item index="2-1">
                        <router-link to="/cms/user-list">用户列表</router-link>
                    </el-menu-item>
                    <el-menu-item index="2-2">
                        <router-link to="/cms/user-property">用户资产</router-link>
                    </el-menu-item>
<!--                    <el-menu-item index="2-3">-->
<!--                        <router-link to="/cms/user-approve">认证列表</router-link>-->
<!--                    </el-menu-item>-->
                    <el-menu-item index="2-4">
                        <router-link to="/cms/user-invite">邀请记录</router-link>
                    </el-menu-item>
                </el-menu-item-group>
            </el-submenu>
            <el-submenu index="3">
                <template slot="title"><i class="el-icon-s-management"></i>理财管理</template>
                <el-menu-item-group>
                    <el-menu-item index="3-1">
                        <router-link to="/cms/manage-list">产品列表</router-link>
                    </el-menu-item>
                    <el-menu-item index="3-2">
                        <router-link to="/cms/manage-record">理财记录</router-link>
                    </el-menu-item>

                </el-menu-item-group>
            </el-submenu>
            <el-submenu index="4">
                <template slot="title"><i class="el-icon-s-order"></i>财务管理</template>
                <el-menu-item-group>
                    <el-menu-item index="4-1">
                        <router-link to="/cms/extract-apply">提币申请</router-link>
                    </el-menu-item>
                    <el-menu-item index="4-2">
                        <router-link to="/cms/recharge-record">充币记录</router-link>
                    </el-menu-item>
                    <el-menu-item index="4-3">
                        <router-link to="/cms/transfer-record">平台转账记录</router-link>
                    </el-menu-item>
                    <el-menu-item index="4-4">
                        <router-link to="/cms/batch-recharge">批量打币</router-link>
                    </el-menu-item>
                    <el-menu-item index="4-5">
                        <router-link to="/cms/return-record">好友邀请返佣记录</router-link>
                    </el-menu-item>
                </el-menu-item-group>
            </el-submenu>
            <el-submenu index="5">
                <template slot="title"><i class="el-icon-s-tools"></i>运营配置</template>
                <el-menu-item-group>
                    <el-menu-item index="5-1">
                        <router-link to="/cms/service-charge">提币手续费设置</router-link>
                    </el-menu-item>
                    <el-menu-item index="5-2">
                        <router-link to="/cms/address-manage">币种和收币地址管理</router-link>
                    </el-menu-item>
                    <el-menu-item index="5-3">
                        <router-link to="/cms/invite-setting">用户邀请设置</router-link>
                    </el-menu-item>
                </el-menu-item-group>
            </el-submenu>
        </el-menu>
    </div>

</template>

<script>

    export default {
        name: "MenuLeft",

    }
</script>

<style scoped>







    .el-submenu .el-menu-item{
        padding-right: 0;
    }
    .el-menu-item a {
        color: inherit;
        display: inline-block;
        width: 100%;
        height: 100%;
    }
    .el-menu-item.is-active{
        background: #ecf5ff;
    }
</style>
